[INFO] cloning repository https://github.com/aslihana/ip_sniffer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aslihana/ip_sniffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faslihana%2Fip_sniffer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faslihana%2Fip_sniffer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ff189d7c2a2f243541cbd2e21487b2be0e72fe6b
[INFO] checking aslihana/ip_sniffer against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faslihana%2Fip_sniffer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/aslihana/ip_sniffer
[INFO] finished tweaking git repo https://github.com/aslihana/ip_sniffer
[INFO] tweaked toml for git repo https://github.com/aslihana/ip_sniffer written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/aslihana/ip_sniffer on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/aslihana/ip_sniffer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8832508f5efe2fe11eab8ef47c6a2b01af5452c12b61b94d354991ac1dc73bb
[INFO] running `Command { std: "docker" "start" "-a" "b8832508f5efe2fe11eab8ef47c6a2b01af5452c12b61b94d354991ac1dc73bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8832508f5efe2fe11eab8ef47c6a2b01af5452c12b61b94d354991ac1dc73bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8832508f5efe2fe11eab8ef47c6a2b01af5452c12b61b94d354991ac1dc73bb", kill_on_drop: false }`
[INFO] [stdout] b8832508f5efe2fe11eab8ef47c6a2b01af5452c12b61b94d354991ac1dc73bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fe748045c6d217f15c1a1c17c3c825cfd383cf6c94407c5d220c690ebd4f037
[INFO] running `Command { std: "docker" "start" "-a" "4fe748045c6d217f15c1a1c17c3c825cfd383cf6c94407c5d220c690ebd4f037", kill_on_drop: false }`
[INFO] [stderr]     Checking ip_sniffer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unknown start of token: \u{2264}
[INFO] [stdout]   --> src/main.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |                        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `break`
[INFO] [stdout]   --> src/main.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |                          ----------- while parsing this struct
[INFO] [stdout] 67 |             break;
[INFO] [stdout]    |             ^^^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `break` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 67 |             r#break;
[INFO] [stdout]    |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `num_threads`
[INFO] [stdout]   --> src/main.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |                          ^^^^^^^^^^^ expected `{`
[INFO] [stdout]    |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] help: you might have meant to write this as part of a block
[INFO] [stdout]    |
[INFO] [stdout] 66 ~         if(MAX - port) ≤ { num_threads {
[INFO] [stdout] 67 |             break;
[INFO] [stdout] 68 ~         } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: \u{2264}
[INFO] [stdout]   --> src/main.rs:66:18
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |                        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `break`
[INFO] [stdout]   --> src/main.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |                          ----------- while parsing this struct
[INFO] [stdout] 67 |             break;
[INFO] [stdout]    |             ^^^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `break` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 67 |             r#break;
[INFO] [stdout]    |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `{`, found `num_threads`
[INFO] [stdout]   --> src/main.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |                          ^^^^^^^^^^^ expected `{`
[INFO] [stdout]    |
[INFO] [stdout] note: the `if` expression is missing a block after this condition
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if(MAX - port) ≤ num_threads {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] help: you might have meant to write this as part of a block
[INFO] [stdout]    |
[INFO] [stdout] 66 ~         if(MAX - port) ≤ { num_threads {
[INFO] [stdout] 67 |             break;
[INFO] [stdout] 68 ~         } }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/main.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let addr = arguments.ipaddr;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `arguments`
[INFO] [stdout]    --> src/main.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 95  |     let arguments = Arguments::new(&args).unwrap_or_else(
[INFO] [stdout]     |         --------- move occurs because `arguments` has type `Arguments`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 109 |         for i in 0..num_threads {
[INFO] [stdout]     |         ----------------------- inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 112 |             thread::spawn(move || {
[INFO] [stdout]     |                           ^^^^^^^ value moved into closure here, in previous iteration of loop
[INFO] [stdout] 113 |                 scan(tx, i, arguments.ipaddr, num_threads);
[INFO] [stdout]     |                             ---------------- use occurs due to use in closure
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `scan` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/main.rs:52:49
[INFO] [stdout]     |
[INFO] [stdout] 52  | fn scan(tx: Sender<u16>, start_port: u16, addr: IpAddr, num_threads: u16)
[INFO] [stdout]     |    ---- in this function                        ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] note: if `Arguments` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/main.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | struct Arguments {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 scan(tx, i, arguments.ipaddr, num_threads);
[INFO] [stdout]     |                             ---------------- you could clone this value
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]     |
[INFO] [stdout] 109 ~         let mut value = scan(tx, i, arguments.ipaddr, num_threads);
[INFO] [stdout] 110 ~         for i in 0..num_threads {
[INFO] [stdout] 111 |             let tx = tx.clone();
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |             thread::spawn(move || {
[INFO] [stdout] 114 ~                 value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/main.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let addr = arguments.ipaddr;
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ip_sniffer` (bin "ip_sniffer" test) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: use of moved value: `arguments`
[INFO] [stdout]    --> src/main.rs:112:21
[INFO] [stdout]     |
[INFO] [stdout] 95  |     let arguments = Arguments::new(&args).unwrap_or_else(
[INFO] [stdout]     |         --------- move occurs because `arguments` has type `Arguments`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 109 |         for i in 0..num_threads {
[INFO] [stdout]     |         ----------------------- inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 112 |             thread::spawn(move || {
[INFO] [stdout]     |                           ^^^^^^^ value moved into closure here, in previous iteration of loop
[INFO] [stdout] 113 |                 scan(tx, i, arguments.ipaddr, num_threads);
[INFO] [stdout]     |                             ---------------- use occurs due to use in closure
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `scan` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/main.rs:52:49
[INFO] [stdout]     |
[INFO] [stdout] 52  | fn scan(tx: Sender<u16>, start_port: u16, addr: IpAddr, num_threads: u16)
[INFO] [stdout]     |    ---- in this function                        ^^^^^^ this parameter takes ownership of the value
[INFO] [stdout] note: if `Arguments` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/main.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | struct Arguments {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 113 |                 scan(tx, i, arguments.ipaddr, num_threads);
[INFO] [stdout]     |                             ---------------- you could clone this value
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]     |
[INFO] [stdout] 109 ~         let mut value = scan(tx, i, arguments.ipaddr, num_threads);
[INFO] [stdout] 110 ~         for i in 0..num_threads {
[INFO] [stdout] 111 |             let tx = tx.clone();
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |             thread::spawn(move || {
[INFO] [stdout] 114 ~                 value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ip_sniffer` (bin "ip_sniffer") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "4fe748045c6d217f15c1a1c17c3c825cfd383cf6c94407c5d220c690ebd4f037", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fe748045c6d217f15c1a1c17c3c825cfd383cf6c94407c5d220c690ebd4f037", kill_on_drop: false }`
[INFO] [stdout] 4fe748045c6d217f15c1a1c17c3c825cfd383cf6c94407c5d220c690ebd4f037
